home *** CD-ROM | disk | FTP | other *** search
- Path: news.london.sinet.slb.com!news
- From: Laurent Darton <darton@macon.wm.slb.com>
- Newsgroups: comp.lang.c++
- Subject: ini files under MSVC 1.52 link problem
- Date: 23 Jan 1996 12:56:41 GMT
- Organization: Schlumberger SINet, London, England
- Message-ID: <4e2lu9$168@snlsu1>
- NNTP-Posting-Host: macon14.macon.wm.slb.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
-
- hi all,
- I would like to write in a private ini file under windows..
- here is what I've done
-
- #include <windows.h>
-
- void main(void)
- {
- BOOL fSuccess;
- fSuccess=WritePrivateProfileString("MyApp","LastFile","testcode.c","testc
- ode.ini");
- }
-
- I have a problem with link :
- MAIN.OBJ(r:\mbus\tsr\global\ini\main.cpp) : error L2029:
- 'WRITEPRIVATEPROFILESTRING' : unresolved external
-
- I think it 's a problem with uppercase letters...
- but I don't know how to solve it.
- Rem : I need to make a dos application not under windows..
- Any help will be welcom..
- Thanks in advance
- Laurent
-
-
-